package dao;

import bean.StudentBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    //id查询学生
    StudentBean getStudent(@Param("t_id") int t_id);
    //查询学生信息和老师信息（嵌套查询）
    List<StudentBean> getStudentTeacher();
    //查询学生信息和老师信息（结果嵌套）
    List<StudentBean> getStudentTeacherTwo();
}
